<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
     <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.js"></script>
</head>

<body>
    请输入区域： <input type="text" name="input" id="input" autoComplete='off'></input>
    <ul id="ull">
    </ul>
    <script type="text/javascript" src="main.js"></script>
    <script type="text/javascript">
        $("#input").bind('input propertychange',function(){
        	var opt= AsyncOperation();
            if($("#input").val()!=null && $("#input").val().length>0){
            opt.init("http://localhost:8080/AJaxWebDemo/tips");
            opt.setMethod("GET");
            opt.firstGetParam("input",$("#input").val());
            opt.sendAndDeal($("#ull"),appendUI);
            }
        });
    </script>
</body>

</html>